package com.macro.mall.mapper;

import com.macro.mall.model.BmsMuseumApplicant;
import com.macro.mall.model.BmsMuseumApplicantExample;
import java.util.List;

import com.macro.mall.dto.BmsMuseumApplicantParam;
import com.macro.mall.dto.BmsMuseumGroupParam;
import org.apache.ibatis.annotations.Param;

public interface BmsMuseumApplicantMapper {
    long countByExample(BmsMuseumApplicantExample example);

    int deleteByExample(BmsMuseumApplicantExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BmsMuseumApplicant row);

    int insertSelective(BmsMuseumApplicant row);

    List<BmsMuseumApplicant> selectByExample(BmsMuseumApplicantExample example);

    BmsMuseumApplicant selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") BmsMuseumApplicant row, @Param("example") BmsMuseumApplicantExample example);

    int updateByExample(@Param("row") BmsMuseumApplicant row, @Param("example") BmsMuseumApplicantExample example);

    int updateByPrimaryKeySelective(BmsMuseumApplicant row);

    int updateByPrimaryKey(BmsMuseumApplicant row);

    int updateStatusByMuseumTeamId(BmsMuseumApplicant bmsMuseumApplicant);

    List<BmsMuseumApplicant> findGroupApplicantByMuseumId(BmsMuseumGroupParam bmsMuseumGroupParam);

    int batchInsert(List<BmsMuseumApplicant> list);

    List<BmsMuseumApplicant> findList(BmsMuseumApplicantParam bmsMuseumApplicantParam);
}
